define(['./controllers'], function (controllers) {
    'use strict';
    controllers.controller('homeCtrl', ['$scope', '$timeout', '$state','$rootScope','$cookieStore',
        function ($scope,$timeout, $state,$rootScope,$cookieStore) {
            $scope.loginOut = function () {
                $cookieStore.remove("wq_use");
                $rootScope.user = null;
                $state.go('index');
            }

        }
    ])

});
